home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 4 / MacMania 4.toast / / Multimedia & Desktop / gsu-shane the plane demo / Fly SAFE with Shane the Plane! < prev    next >
Text File  |  1993-07-08  |  75KB  |  1,516 lines

  1.  
  2.  
  3.  
  4. Fly SAFE with Shane the Plane!
  5.  
  6. (A Power User's manual for Power User's software)
  7.  
  8.  
  9. Documenting: Shane the Plane (version 2.0.1) © 1993 by Greg Swann
  10.  
  11. 7/8/93
  12.  
  13. Greg Swann
  14. CompuServe: 70640,1574
  15. USPS: P.O. Box 1724
  16.       Andover, MA 01810
  17.  
  18.  
  19.  
  20. Table of Contents
  21.  
  22. 0. Entirely UNFAIR warnings...
  23.  
  24. 1. Introductory Chatter...
  25.  
  26. 2. Commercial, legal and other pertinent notices...
  27.  
  28. 3. Shane the Plane - the quick hop...
  29.  
  30. 4. Transcontinental Shane the Plane...
  31.  
  32. 5. Not for Flight Engineers only...
  33.  
  34. 6. About Greg Swann...
  35.  
  36. 7. Conclusion...
  37.  
  38. Appendix: Real World Shane the Plane by Kip Shaw
  39.  
  40.  
  41.  
  42.  
  43. 0. Entirely UNFAIR warnings...
  44.  
  45. Don't say you weren't warned: This software is DANGEROUS!
  46.  
  47. Repeating: THIS SOFTWARE IS DANGEROUS!!
  48.  
  49. Nothing is buggy. Everything works as documented. But: almost
  50. everything we're doing here is _inherently_ dangerous. This is most
  51. emphatically _NOT_ intended to be used by novices. This is Power
  52. User's software intended to be used by Power Users. There is nothing
  53. being done here that could not be done by other (much slower) means,
  54. but many of the functions performed by Shane the Plane would require
  55. special software and a deep knowledge of Macintosh topology. Shane
  56. the Plane offers fast, convenient brute-force to people who _could_
  57. do these jobs manually. If you could not, do yourself (and your
  58. "guru") a favor and drop out now. It's no stain to save yourself
  59. unnecessary pain (grin).
  60.  
  61. There will be little warnings all the way through this manual, but I
  62. wanted to establish a Global Warning Trend (groan!) right at the
  63. top: if you don't know what the hell I'm talking about in this
  64. document (and I'm deliberately not making things too easy), take
  65. that as your cue that this is not for you. I'm not trying to talk my
  66. way out of your money, but I surely don't want your money for giving
  67. you the means to irreparably damage your files (taking careful note
  68. that it will be your own damn fault if your do!).
  69.  
  70. On the other hand: if you _are_ a Macintosh adept, hang in. This is
  71. definitely a jet-powered file-attribute management utility. The
  72. whole point is learning to Fly SAFE with Shane the Plane...
  73.  
  74.  
  75.  
  76. 1. Introductory Chatter...
  77.  
  78. This is a further development on the gross concept of the original
  79. Shane the Plane (version 1.0.x), a FreeWare program that can be
  80. found on CompuServe and other electronic information services. The
  81. original Shane the Plane optionally changed the creator and type of
  82. files, and/or their created/modified dates and times. Shane the
  83. Plane version 2.0.1, this software, continues to do that stuff, but
  84. it also intelligently renames files, inserts the file's name as a
  85. "slug" in text files, and permits really radical batch editing of
  86. significant Finder flags (for example, you can "Paste" custom icons
  87. into a huge batch of files very quickly).
  88.  
  89. The original FreeWare Shane the Plane is available and will always
  90. be available for free. But: Shane the Plane 2.0.1 is commercial
  91. software: you can't use it (for long) without paying me. The copy of
  92. Shane the Plane in this archive is a DemoWare version that will
  93. permit up to 32 launches and then forevermore refuse to do anything
  94. but be an automated salesman. It is a _fully functional_ demo.
  95. Nothing is crippled. The only inhibition is the one named: 32
  96. launches, max. See "Commercial, legal and other pertinent notices"
  97. below for information on how to purchase unrestricted copies of
  98. Shane the Plane.
  99.  
  100.  
  101. This software is named for Shane Stanley, de facto product manager
  102. for all of my commercial programs and the quiet voice of reason
  103. behind virtually everything I do. Shane has been unstinting in the
  104. benefits he has conferred upon me, and I can never hope to repay
  105. him. We've worked together for a little over a year, and in that
  106. time my respect for him has grown geometrically. He's a very
  107. valuable business associate (to the extent that you can call what I
  108. do a business), but _much_ more important, he's a very highly valued
  109. friend. I'm proud to have produced a piece of software that is
  110. _almost_ worthy of its namesake.
  111.  
  112. Here's the story: when we were working on version 1.0.0 of Shane the
  113. Plane, I was casting about for a name. I had already written two
  114. pieces of software named after Shane, but neither was released - the
  115. second because it was trivial and the first because it was a little
  116. too user-friendly... But I wanted to name something (useful) in his
  117. honor, and I'd been waiting for the right thing. It happens that I
  118. was talking to my four-year-old daughter, Meredith, (in a very
  119. general way) about this project, and I asked her what I should call
  120. it. "Shane the Plane," she said, that being her name for all
  121. airplanes. Shane's name comes up in conversation a lot, and she
  122. worked out the rhyme on her own. And names for "things" are a big
  123. deal right now; the computer I'm working on is named "Amber", after
  124. Meredith's favorite kind of traffic light. Meri made the original
  125. icon, a biplane painted brown to blend into the rugged outback of
  126. Shane's native Australia. She also made the jet icon that graces
  127. this version.
  128.  
  129. With some validity, this could be named after Kip Shaw, since it was
  130. he who got me thinking about many of the problems it solves.
  131. Notably, creator/type changing, intelligent file renaming, and text
  132. file "slugging" are all responses to conversations with Kip about
  133. things we'd like to be able to do. Renaming and slugging are pieces
  134. of a software puzzle Kip is putting together to automate a
  135. significant part of his publishing work. Another piece of that same
  136. puzzle is the FreeWare program ShawBerry, named after Kip, which is
  137. stored on CompuServe (as BERRY.CPT in Library 5 of the DTPForum) and
  138. other electronic information services.
  139.  
  140.  
  141. Shane and Kip were the beta testers for this version of Shane the
  142. Plane, and, as always, they have my gratitude. Even more than
  143. "always", perhaps, since they were testing a huge piece of software
  144. that was largely in flux until the bitter end.
  145.  
  146.  
  147. TechnoBabble: Shane the Plane is compatible with both Systems 7 and
  148. 6. It is AppleEvent-aware, so, presumably, you could script to it
  149. from an intelligent agent. It's 32-bit clean, MultiFinder aware, a
  150. real fun date - all the usual stuff. In short (there will be much
  151. more later), it's everything you expect of up-to-the-microsecond
  152. Macintosh software.
  153.  
  154.  
  155. Notes on this text: this file is written as plain text in DOS-like
  156. fashion (i.e., every line ending is a carriage return). It is
  157. produced in a FreeWare Programmer's editor called BBEdit by Rich
  158. Siegel (which is recommended). I've had mail about this, so I'll
  159. explain: I produce documents this way because doing so makes no
  160. presumptions about what software and fonts you might own. _Most_
  161. word processors can open, e.g., MS-Word files. But _all_ word
  162. processors can open _this_ file.
  163.  
  164.  
  165.  
  166. 2. Commercial, legal and other pertinent notices...
  167.  
  168. As mentioned above, this is a DemoWare version of Shane the Plane,
  169. fully functional but limited to 32 launches. The full unrestricted
  170. commercial release can be obtained from Greg Swann at:
  171.  
  172.     P.O. Box 1724
  173.     Andover, MA 01810
  174.  
  175. Licenses are sold per machine, with a single license costing $40;
  176. 2-10 licenses are $35 each; and 11 or more licenses are $30 each.
  177. (Write me if you want to negotiate an unlimited site license.)
  178.  
  179. I've thoughtfully (grin) provided a TeachText order form with this
  180. archive. (Take note that this order form requires a PICT-aware
  181. version of TeachText; use the version that came with your System
  182. software, or open the file through some other PICT-aware software
  183. (such as PhotoShop or MacDraw).)
  184.  
  185. Why is this version DemoWare? As with everything in my life, there
  186. is philosophy here: I don't like crippled software. I don't think
  187. much of ShareWare. And I almost never buy "a pig in a poke". In
  188. deciding on a marketing scheme, I looked for something that would
  189. be most appealing to _me_, were I in your shoes. This is what I've
  190. come up with: a fully functional demo that lets you _find out_ if
  191. Shane the Plane is a useful tool in your working environment. If it
  192. is (and obviously _I_ think it will be), then pay me. If it isn't,
  193. then ditch it when it starts to offer to make coupons for you as a
  194. full-time gig. A good deal all around, I think: no guilt for you,
  195. no guilting for me; maybe useful software for you, maybe useful
  196. money for me (grin).
  197.  
  198. (For those who must have it both ways: it would certainly be
  199. possible to download this archive again and again, just to get
  200. access to more launches. Even cleaner, a determined thief could
  201. keep a pristine copy and spawn duplicates to use until they're
  202. exhausted. My take on this is simple: so be it. I work _very_ hard
  203. on the things I make, and I don't want to think that my labor is
  204. going to support people who are overtly hostile to the life of the
  205. mind. But I certainly don't want to be _compensated_ for that
  206. unintended outcome. I may not get my due _from you_, but nature is
  207. just: in the long run, I'll get what's coming to me - and so will
  208. you.)
  209.  
  210. (And if this is the first time you've read a software manual by me:
  211. you'll get used to it... (grin))
  212.  
  213. Shane the Plane, its source and executable code, and this poor
  214. excuse for a manual are Copyright (C) 1993 by Greg Swann. All
  215. rights are most emphatically reserved.
  216.  
  217. The unrestricted (non-DemoWare) version of Shane the Plane is
  218. licensed for use on one machine by the person who paid for it. If
  219. you didn't pay for it, please do! I am one person, with a
  220. long-suffering family, not Conglomerated MegaSoft (not to imply
  221. that there's any virtue in ripping _them_ off!).
  222.  
  223. Shane the Plane is delivered "as is", without any warranties,
  224. expressed or implied. It is not warranted to be useful _to_ anyone,
  225. _for_ anything, and in no wise am I to be held responsible for any
  226. unfortunate consequences resulting from its use or misuse. And I
  227. _hate_ having to say things like that. I do my best to write
  228. useful, simple, elegant, bug-free solutions to difficult problems.
  229. If you take it into your head that I represent your big chance to
  230. "strike it rich", you will pay a lot in legal fees to discover that
  231. you have miscalculated.
  232.  
  233. And: to those to whom the above disclaimers do not apply: forgive
  234. me for having to make them. It's _you_ whom I'm working for, for
  235. pay or for free. I appreciate your patronage and your support, and
  236. I wish we all could just comb the others out of our hair...
  237.  
  238. (Hey, it's a real 'personal' software company! (grin))
  239.  
  240.  
  241.  
  242. 3. Shane the Plane - the quick hop...
  243.  
  244. This is an accelerated introduction to Shane the Plane's features
  245. and functions. Frankly, I think you should read the detailed
  246. instructions below. But if you're simply in _too_ big a hurry, this
  247. will get you airborne with Shane the Plane.
  248.  
  249. Here's what you do: Drag & Drop _copies_  of some files on the icon
  250. or an alias of it. Set some switches. Hit Start. If the results
  251. aren't all you dreamed, try again. Hammer away all afternoon, if
  252. necessary. This is the _Mac_, dammit, and we are constitutionally
  253. exempted from reading manuals, even when doing so would be _far_
  254. faster than "intuiting"... (wry grin)
  255.  
  256. Seriously: if you reason well, you can puzzle this out on your own.
  257. But: if you reason well, perhaps a word to the wise will be
  258. sufficient: This software is DANGEROUS!
  259.  
  260. In other words, _please_ take the time to find out what all these
  261. controls and switches do. Noodle around with copies of files until
  262. you're comfortable with the jobs you'll be doing. Back off and
  263. re-read as soon as something you hadn't expected happens. Commit
  264. yourself to this software _only_ when you've committed its behavior
  265. to memory. By being modal (to the point of user-hostility in
  266. places) we're insulating you from the worst consequences. But the
  267. next-to-worst are very far from good, and I'd hate for anyone to
  268. "quick-start" their way into a slow restoration...
  269.  
  270. ...now do as you will.
  271.  
  272.  
  273.  
  274. 4. Transcontinental Shane the Plane...
  275.  
  276. (If you use other software by me, there are a couple of big
  277. differences in Shane the Plane from my normal methods. First,
  278. because it seemed likely to me that few Shane the Plane jobs would
  279. use the previously established preferences, you _must_ hit the
  280. Start button for execution to begin on a Drag & Drop batch of
  281. files. In other words, my expectation is that nearly every job will
  282. require some switch-setting, so the default behavior is to make you
  283. explicitly assert your readiness to begin by hitting the Start
  284. button. Second, all of the changes made by Shane the Plane are done
  285. "in place"; no new files are created. Normally, my stuff copies
  286. from the source file to a new (uniquely named) destination file,
  287. leaving the source untouched. Since Shane the Plane exists to
  288. modify pre-existing files, that is not done here. This is not
  289. terribly important except for this: if something goes badly wrong,
  290. your file(s) may be toasted. We are watching our own butt (and
  291. yours), but there's no accounting for acts of nature, etc. In
  292. truth, where we are doing dangerous things, we are doing them in
  293. the same way they are done by software costing 10 times as much as
  294. Shane the Plane. But: be careful anyway. If a file is
  295. irreplaceable, then work on a copy, replacing the original only
  296. when you're sure all is well. (This is good advice in general!))
  297.  
  298. Shane the Plane runs out of a single dialog box, plus the menu bar.
  299. About and Quit are familiar to everyone. The Command key
  300. equivalents for Copy, Paste, and Cut work. Restore defaults
  301. restores all settings to their "factory" defaults. Restore saved
  302. preferences restores the settings to those most recently saved. And
  303. Save preferences saves the current settings as the future defaults
  304. to use at launch time. In other words, if you have a set of
  305. operations you do endemically, make those your saved preferences.
  306. Then, when you have a job that doesn't fit the mold, make temporary
  307. changes, execute the job, and quit without saving the preferences.
  308.  
  309. There is a special logic to the way Shane the Plane handles files
  310. delivered by Drag & Drop (available with System 7 only). Works like
  311. this:
  312.  
  313. 1. If Shane the Plane is launched by means of Drag & Drop, the
  314. settings you establish are applied to that batch of files when you
  315. hit the Start button, and then Shane the Plane quits without having
  316. to be told to quit.
  317.  
  318. 2. If you launch by double-clicking on the icon (or an alias of
  319. it), then Shane the Plane must be quit explicitly (that is, you
  320. must select Quit from the File menu or type Command-Q). If you hit
  321. the Start button (without having Dragged & Dropped files), you will
  322. be presented with a Standard File dialog box from which you can
  323. select _one_ file, which will then be processed with the settings
  324. you have established (this is the only way of using Shane the Plane
  325. with System 6). On the other hand, if you double-click launch and
  326. then Drag & Drop files, the settings you establish are applied to
  327. that batch of files when you hit the Start button, but Shane the
  328. Plane _does not_ Quit on its own at the end of the batch.
  329.  
  330. (There is one exception to this logic: when you have Dropped a
  331. batch of files, a "Clear batch" button becomes visible. If you hit
  332. that button, the batch of files will be cleared from memory, and
  333. Shane the Plane will revert to the interactive state. In other
  334. words, if you launch with a Drag & Drop batch, the software will
  335. Quit automatically after processing if you hit Start, but will
  336. _not_ Quit if you hit Clear batch.)
  337.  
  338. In this way you get the best of all worlds: quick, non-intrusive
  339. Drag & Drop, fully interactive operation, or interactive Drag &
  340. Drop.
  341.  
  342. (Important: when files are processed by Drag & Drop, we are giving
  343. you a great deal of information about their native state (viz.,
  344. creator and type, current Finder flags settings, file names, etc.).
  345. We can't give you this news about files processed interactively
  346. (the System 6 way), since we but barely know it before it's old
  347. news. The _best_ reason to use Shane the Plane by Drag & Drop is
  348. that it's _much_ faster. But this is _another_ reason: it's a much
  349. more information-rich (hence safer) way to fly...)
  350.  
  351. (Also important: certain features of Shane the Plane take advantage
  352. of Finder features available _only_ with System 7. These are: Lock
  353. file name and the three check boxes relating to custom icons. These
  354. check boxes will be disabled if you launch with System 6.)
  355.  
  356. In the dialog, there are five primary check boxes that govern the
  357. behavior of the subsidiary controls indented beneath them. If the
  358. primary check box is checked, the controls beneath are honored;
  359. otherwise they're ignored. The "factory" settings for the primary
  360. check boxes have them all unchecked. If you make any demonstrably
  361. affirmative change to a subsidiary control, the appropriate primary
  362. control will be checked automatically. The primary check boxes are
  363. these:
  364.  
  365.  
  366. Change creator/type: changes the creator and type of the file(s)
  367. selected (surprise). The two text fields beneath the check box
  368. allow you to establish which Creator and Type codes to use. These
  369. default to 'R*ch' and 'TEXT' because that's what I need most often
  370. (and whom should I please if not myself? (grin)). You can use
  371. '****' as a wildcard meaning, "Stet. Leave this field the way it
  372. is". If you Drag & Drop files, the Geneva text under the text
  373. fields is the creator and type of the _first_ file in the batch.
  374. Reasonably intelligent error-checking is going on in these fields
  375. when you hit the Start button.
  376.  
  377.  
  378. Change Finder flags: This is very complicated, so we're going to come
  379. back to it after dispensing with the others.
  380.  
  381.  
  382. Change date/time: The Change date/time check box controls whether or
  383. not the created and modified dates of the file(s) will be altered.
  384. If checked, both will be changed to the same date and time. The
  385. format shown in Geneva beneath the text fields is a reflection of
  386. your Control Panel date set-up. If you're set up for U.S.-style
  387. dates, you'll see "MM/DD/YY", and you must enter dates that way. If
  388. you're set up for non-U.S.-style dates, you'll see "DD/MM/YY", and
  389. you'll enter dates that way. No matter what, the times must be
  390. entered as "HH:MM:SS", using a 24-hour clock (i.e., the second
  391. before midnight is 23:59:59, and the second after midnight is
  392. 00:00:01). Reasonably intelligent error-checking is going on in
  393. these fields when you hit the Start button.
  394.  
  395. The date/time pop-up requires a bit of explanation because it does
  396. two things. First, it establishes the form that the date and time
  397. will take on the next launch (if you Save preferences). But it
  398. _also_ gives you 10 plug-and-play options to use on the fly. Use
  399. preferences uses the strings from the most recently saved
  400. preferences, _not_ the result of the saved state of the pop-up
  401. itself. Likewise for Use defaults. These are provided so that you
  402. can store literal dates and times, as opposed to the
  403. software-generated forms used by the others.
  404.  
  405. Clear as mud? Here's the deal: we're actually "storing" the dates
  406. and times in two ways in the preferences. We're storing the current
  407. switch setting of the pop-up, _and_ we're storing the actual text
  408. of the editable fields. If you set the pop-up to Today at midnight,
  409. but _then_ enter "01/02/93" in the date field, and then Save
  410. preferences, when you launch again, things will be thus: the pop-up
  411. and the date shown will reflect Today at midnight for every
  412. midnight of every today for all eternity. But: if you select Use
  413. preferences, you'll see "01/02/93". This will remain, steady as a
  414. rock, until the next time you Save preferences. This was done this
  415. way for a reason: suppose you want to modify work done over several
  416. days so that it all has the same date applied to it. You could wait
  417. and do the whole batch all at once. Or you could take advantage of
  418. this feature to date-stamp it as you go along. This feature is so
  419. well thought out that _no one_ understands it! (grin) Play with it
  420. in connection with Save preferences, and you'll see what's going
  421. on.
  422.  
  423. (And a brief word about date modification: it would be very easy to
  424. use this feature for fraudulent purposes. You could claim to have
  425. started something before you really did, swear up and down that you
  426. didn't make a change that you _did_ make, divert accusing fingers
  427. of blame toward unsuspecting innocents. This is one of the reasons
  428. that Created and Modified are not independently editable: I can't
  429. think of an honorable reason why anyone would need to do this. But,
  430. even so, it's still possible to commit fraud with Shane the Plane,
  431. and all I can say is this: I hope you don't. The finite time of
  432. your life is your only asset, and I would hope you wouldn't choose
  433. to squander it with ego-destructive acts...)
  434.  
  435. (And another brief word about date modification: certain disk
  436. repair utilities (notably The Norton Utilities) don't like files
  437. with odd dates. If you use this time machine to move files to the
  438. distant past, or to any point in the future, prepare to face a
  439. quizzical modal dialog from your disk fixer. No consequences, just
  440. an opportunity to fix or ignore.)
  441.  
  442. (And a final word about date modification: what's it for? Sex
  443. appeal, that's all. When you're delivering work that's twice-slick
  444. in every other respect, it's thrice-slick to have every file set to
  445. the same date and time. Software developers reading this will know
  446. _exactly_ what I mean. Racing stripes don't make sports cars _run_
  447. any faster; they just make them _sell_ faster (grin).)
  448.  
  449.  
  450. Change file names: Here am I hoist by my own petard! As discussed
  451. below in "About Greg Swann", I write a lot of file conversion
  452. utilities. Each of these makes its own files from the source files,
  453. adding its own "extension" to make a unique file name. What's
  454. worse, many of these are eminently useful if used in combination.
  455. In the long run, I'll be combining _many_ of these utilities in an
  456. omnibus word processor that is as yet unnamed (but which we call
  457. MyEditor to distinguish it from, for example, YourEditor (grin)).
  458. But, for now: it's very easy to have a file called
  459. "theFile.TQM.XP8.TQM.SB!". Many of the options in Change file names
  460. exist to contain this mad proliferation of extensions.
  461.  
  462. In the pop-up menu, you have these choices:
  463.  
  464. Prompt individually - presents a dialog showing the current file
  465. name and inviting you to change it manually.
  466.  
  467. Use text file’s slug line - intelligently parses the slug line
  468. inserted by a prior pass through Shane the Plane (see "Insert slug
  469. line in text files" below). If a Shane the Plane slug line is not
  470. found, this renames the file with text from the file. The method of
  471. selecting text is this: starting from the first non-white-space
  472. character, assemble up to 31 characters of text or up to the next
  473. return character found, omitting any trailing whitespace
  474. characters. In all cases, colons are converted to hyphens (since
  475. the colon is the path separator in the Mac OS), and control
  476. characters are converted to space-bands.
  477.  
  478. (If the file is _not_ of type 'TEXT', the name will not be changed.
  479. Depending on the state of the Auto-pilot|Prompt radio group, Shane
  480. the Plane-inserted slug lines are either omitted or retained. If
  481. the slug line was not inserted by Shane the Plane (viz., if we are
  482. just using text from the top of the file), the slug is not omitted.
  483. If Auto-pilot is selected, and if we find a Shane the
  484. Plane-inserted slug line, then the slug line and any trailing white
  485. space characters are removed. If Prompt is selected, you will be
  486. prompted (once per session) as to whether you want to retain or
  487. omit Shane the Plane-inserted slug lines. This was done so that, if
  488. you are inserting slug lines for temporary reasons, you can get
  489. them back out efficiently.)
  490.  
  491. Remove all extensions - removes all extensions, from last to first.
  492. For all of these menu entries, an extension is defined as
  493. non-white-space characters at the end of the file name, fingering
  494. backward to a period character. The extension of "theFile.txt" is
  495. ".txt", but "theFile.txt Copy" _does not have an extension_, since
  496. there is a white-space character between the end of the line and
  497. the period. In all cases, we retain any text that does not fit this
  498. definition. If you ask to have 3 extensions removed and only 2 are
  499. found, only those 2 will be removed. We're being extra-careful
  500. about this, because injudicious use of this function could result
  501. in the loss of files.
  502.  
  503. Remove all but 1st ext. - would convert "theFile.TQM.XP8.TQM.SB!"
  504. to "theFile.TQM".
  505.  
  506. Remove last ext. - would convert "theFile.TQM.XP8.TQM.SB!" to
  507. "theFile.TQM.XP8.TQM" or "theFile.TQM" to "theFile".
  508.  
  509. Remove last 2 exts. - would convert "theFile.TQM.XP8.TQM.SB!" to
  510. "theFile.TQM.XP8".
  511.  
  512. Remove last 3 exts. - would convert "theFile.TQM.XP8.TQM.SB!" to
  513. "theFile.TQM".
  514.  
  515. Custom extension - uses the text entered in the Extension text
  516. field below the pop-up. Both Extension and Prefix are limited to
  517. four characters, and a reasonable amount of error-checking is going
  518. on when the Start button is hit.
  519.  
  520. (Why four characters? Since a Macintosh file name is limited to 31
  521. characters in length, even four characters represents a significant
  522. fraction of its total size. The longer an extension or prefix is,
  523. the greater the likelihood of introducing duplicate file names.
  524. Shane the Plane adds _only_ the number of characters actually typed
  525. in the field. So, for example, the default Prefix ("• ") adds only
  526. two characters. If you really want a much longer prefix or
  527. extension (which I think is a Bad Idea (not, mind, a Real Bad
  528. Idea)), load it into the paste buffer and use Prompt individually,
  529. pasting it into each name. Alternatively, run twice with different
  530. text in the affected field.)
  531.  
  532. Custom, removing exts. - same as above except that all pre-existing
  533. extensions are removed before the new one is tacked on.
  534.  
  535. Prefix - works like Custom extension except that the Prefix is put
  536. at the _front_ of the file name. This can be useful for forcing a
  537. sort ordering in List by Name view in the Finder, etc.
  538.  
  539. Prefix, removing exts. - take the previous two and interpolate
  540. (grin).
  541.  
  542. Remove prefix - removes a file name's prefix in a fairly tightly
  543. defined sort of way. The problem is this: extensions are pretty
  544. much an accepted standard, going back to Unix and before. We can
  545. all agree what an extension looks like and respond accordingly. But
  546. the concept of prefixing file names is new with the Mac, and there
  547. really isn't any accepted practice about how to do it. So what
  548. we're doing is this: first, we're examining the Prefix text field.
  549. If the first N characters of the file name match the N characters
  550. of the Prefix you've typed, we are omitting those N characters.
  551. That means that _you_ can establish what you want removed by typing
  552. into the Prefix text field. Second, if that test fails, we are
  553. looking for a prefix in the form of: 1 non-white space character
  554. immediately followed by 1 white space character (e.g., "* "). A
  555. non-white space character is any legal file-naming character
  556. _other_ than space or option-space. A white space character is
  557. either space or option-space, nothing else. If the file name
  558. matches that "mask", we remove the first two chararters (only) of
  559. the file name.
  560.  
  561. Rename with wildcards - uses Torquemada's syntax to give you a batch
  562. renaming capability such as the DOS- and UNIX-heads are always
  563. boasting about. Rub their noses in this, because it's _much_ more
  564. powerful. Unfortuantely, it's somewhat more complicated, first
  565. because Mac filenames are larger and more flexible than what passes
  566. for filenames under DOS, and second because Torquemada's complexity
  567. can leave users somewhat at sea. This feature was requested by Mike
  568. Arst and was added with version 2.0.1. It is extremely Arstian in
  569. its form, so, if you don't feel perfectly comfortable with it, just
  570. walk on by. Me feeling is that it has the potential to be immensely
  571. time-saving once in a blue moon, which scores it as a win in my
  572. book. If not in yours, it's cool. Really. (grin)
  573.  
  574. No business like UI business: if you select this in the pop-up,
  575. when you hit the Start... button you will be prompted for a source
  576. filename mask and a destination filname mask. These are analogous
  577. to Torquemada search and replace strings, and, in fact, they are
  578. entered in exactly the same way. If you're working interactively
  579. and you pop-up out and back in, you will be prompted for new masks.
  580. Otherwise, the masks will persist indefinitely (that is, until you
  581. Quit). Obviously, when you D&D you're only going to see them once,
  582. no matter what.
  583.  
  584. At the time the renaming business happens, the current filename
  585. plus the two masks are delivered to code that is, in fact, culled
  586. as is from Torquemada 1.2.2. In other words, in principle, every
  587. TQM 1.2.2 S&R operation can be done to your filenames. In practice,
  588. there are some limitations. If your filename ends up longer than 31
  589. characters, something must be done. If Auto-pilot|Prompt is set to
  590. Prompt, you will be prompted for intervention. If Auto-pilot is
  591. set, the name will be truncated mercilessly at the 31st character.
  592. Obviously, you're never going to get a colon (":") into a filename,
  593. since that is the one illegal character in Mac filenames (another
  594. big score on D(uh)OS). Certain Torquemada constructs are meaningless
  595. (e.g., "^t" (tab) and "^p" (return)), since Shane the Plane
  596. insulates _all_ control characters in filenames as spacebands. And,
  597. finally, the Mac OS ignores without comment name-change requests
  598. that entail _only_ changes in case. In other words, the
  599. case-changing TQM commands _work_, but you have to change more than
  600. the case to get the Mac OS to concede that a change should really
  601. happen. _Any_ change is sufficient; a trailing space, a leading
  602. bullet, a change in spelling - anything that makes the old and new
  603. names different when case is ignored.
  604.  
  605. The manual that ships with Torquemada 1.2.2 runs to about 12,000
  606. words, rather more space than I want to devote to one feature of
  607. Shane the Plane. So for a fuller understanding of the commands
  608. summarized below, refer to the Torquemanual. Incidentally (and
  609. mercenarily), if you're using Torquemada 1.1.0 (the FreeWare
  610. version), this list should make plain why you should upgrade: the
  611. stuff that's new is way powerful.
  612.  
  613. RENAME WITH WILDCARDS QUICK REFERENCE
  614.  
  615. ALIASES—Match special text characters
  616.   ^T or ^t    Tab
  617.   ^P or ^p    Carriage return
  618.   ^^          Caret
  619.   ^˙          ˙  ({OPT-h})
  620.   ^˚          ˚  ({OPT-k})
  621.  
  622. UNTYPED WILDCARDS—Match any one character
  623.   ^0, ^1, ^2, ^3, ^4
  624.  
  625. TYPED WILDCARDS—Match any one character of that type
  626.   ^+    Uppercase character (includes accented characters)
  627.   ^-    Lowercase character (includes accented characters)
  628.   ^±    Character of either case (includes accented characters)
  629.   ^&    Alphanumeric character (letter or number, not space or punctuation)
  630.   ^%    Tabular character (digit, space or punct.; not alphabetical)
  631.   ^$    Printable character (all characters _except_ space characters)
  632.   ^¢    Any character _EXCEPT_ return
  633.   ^!    Punctuation character (includes high-ASCII punctuation)
  634.   ^.    Sentence Punctuation character (.,;:!?)
  635.   ^#    Numeric character (digits only)
  636.   ^_    Space character (space, return, tab, option space)
  637.   ^¬    Space character (space, tab, option space, but _NOT_ return)
  638.  
  639. DO-IT-YOURSELF WILDCARD-Match any one character of the type you define
  640.   ^«...»    "..." is your definition
  641.  
  642. WILDSTRINGS—Match and store any text until full pattern is matched
  643.   ^*, ^~, ^?, ^@
  644.  
  645. THE WILDSTRING MODIFIER-Constrain following wildstring to type of
  646.                         preceding wildcard or character
  647.   ^<
  648.  
  649. CASE CONVERSION COMMANDS—Can be used only on the replace side;
  650.                          accented characters are handled
  651.                          intelligently
  652.   ^C or ^c    CONVERT TO ALL CAPS
  653.   ^L or ^l    convert to all lower case
  654.   ^S or ^s    Convert to sentence caps
  655.   ^U or ^u    Convert To Upstyle Caps
  656.   ^D or ^d    Convert to Downstyle Caps
  657.   ^=          Cancel all case conversion
  658.  
  659. If you Drag & Drop files, the name of the _first_ file will appear
  660. in Geneva below the Prefix and Extension fields before you hit
  661. Start. After you hit Start, the names of the files in the batch
  662. will be shown in sequence as they are processed.
  663.  
  664. The Auto-pilot|Prompt radio button group controls how Shane the
  665. Plane deals with untoward file naming events. If the newly created
  666. name is the same as that of a file that already exists in the
  667. destination folder, that other file will either be replaced
  668. automatically or you will be prompted for action, depending on the
  669. state of this radio button. If adding a Prefix or Extension would
  670. result in a file name longer than 31 characters (the Mac max), the
  671. name will either be truncated automatically, or you will be
  672. prompted for action. If it is truncated automatically, the
  673. truncation will happen to the _base_ name, _before_ the addition of
  674. the new text. In this way (with Extensions), you preserve the
  675. characters you're trying to add! As discussed above, the
  676. Auto-pilot|Prompt radio group determines whether you will be
  677. prompted to discover if you want to omit Shane the Plane-inserted
  678. slug lines when Use text file's slug line is selected, or if you
  679. want them to be omitted automatically. Finally, if the new name is
  680. exactly the same as the old name, the renaming will either be
  681. skipped or you will be prompted for action, depending on the state
  682. of this radio button. My advice: leave it set to Prompt (the
  683. factory default). You won't be prompted that often, but Murphy's
  684. Law of Disk Recovery Software says that the only file that can't be
  685. recovered is the one that can't be replaced. The File You Save May
  686. Be Your Own!
  687.  
  688. (About "Prompting": this is all run out of a smart dialog that
  689. tells you what it wants you to do and won't let you do anything
  690. illegal. It's oppressively modal, but there is nothing in Mac-land
  691. that is quite so modal as naming files.)
  692.  
  693. (Modal: This is so much a part of the Mac landscape that we tend
  694. not to notice it. The thing that makes character-oriented software
  695. so loathsome to use is its overuse of "modes". You can't select
  696. when you're in the insertion mode; you can't type when you're in
  697. the selection mode. Mac software is modeless wherever possible,
  698. introducing modes _only_ where modelessness would be inherently
  699. dangerous. A Macintosh mode is denoted by a modal dialog box, and
  700. you _must_ legally dismiss that dialog before you can proceed.
  701. Thoughtful handling of modelessness and modes is what separates the
  702. sheep from the lambs among Graphical User Interfaces. More than
  703. anything else, this is what makes also-rans like Windows and Motif
  704. seem so alien to Mac hacks.)
  705.  
  706.  
  707. Insert slug line in text files: this inserts the current name of the
  708. file in any file _of type TEXT_. All other types are ignored. This
  709. option is disabled when "Use text file’s slug line" is selected in
  710. the "Change file names" pop-up, for obvious reasons. Fair warning:
  711. do not use this on Styled Text files! A Styled Text file (such as
  712. those produced by Nisus) has the creator type 'TEXT', but there are
  713. pointers into the text in the resource fork that will be hosed when
  714. the slug line is inserted. Every one of those pointers will be
  715. "off" by the number of characters in the slug line, which will
  716. produce interesting but not very useful results. In the same
  717. respect, certain text editors (such as BBEdit) store the current
  718. insertion point/selection in the resource fork. These pointers will
  719. also be "off" by the size of the slug line, but this is far smaller
  720. consequence.
  721.  
  722. (Kip asked during testing what might be the consequences for RTF
  723. files. My answer: I don't know. I don't use RTF, so I don't know
  724. how fussy it is. If you _do_, test this function on a _copy_ of
  725. your RTF file before committing to it as a useful procedure.)
  726.  
  727. The slug line looks like this (everything between but not including
  728. the rows of dashes):
  729.  
  730. -----
  731. // Filename: nameOfFile
  732.  
  733. -----
  734.  
  735. "// Filename: " is for uniqueness in searching (as with my own
  736. Torquemada the Inquisitor) and because anything (on one line) after
  737. two slashes is interpreted as a comment in Think C and all C++
  738. compilers (viz., programmers can use Shane the Plane to comment
  739. their source files with the name of the file). The extra return is
  740. there to be pretty (grin). "nameOfFile", of course, is the current
  741. (possibly newly changed) name of the file. The slug is prepended at
  742. the zeroth position in the file, and everything after that is the
  743. literal text from the file. The resource fork of the file is not
  744. changed.
  745.  
  746.  
  747. Change Finder flags: okay, now we're back to this. This is
  748. complicated enough that we're doing as much as we can to simplify
  749. it. For example, with Drag & Drop batches, we are collecting
  750. information about the pre-existing state of files and reporting it
  751. by means of graphic symbols (thus making one of the busiest dialogs
  752. in Mac history, alas).
  753.  
  754. Two of these symbols are generic, and two are specific to a
  755. particular check box.
  756.  
  757. The diamond symbol refers to the first file in the Drag & Drop
  758. batch. It tells you that particular Finder attribute is _set_ in
  759. the first file in the batch (this may not be true for _every_ file
  760. in the batch). If you want to _retain_ this attribute (for the
  761. whole batch), you must check the associated check box.
  762.  
  763. The circle symbol refers to _some_ (and possibly all) files in the
  764. batch. It is used with "Remove custom icons" and "Remove PS font
  765. BNDLs" to let you know that one or more files in the batch meets
  766. the criteria for those check boxes. Since those functions are
  767. harmless on files that _don't_ have the appropriate resources, it's
  768. safe to run them on (what might be) a mixed batch.
  769.  
  770. The square symbol refers _only_ to "Make all in folder visible". It
  771. tells you that one or more files in the folder(s) where files
  772. reside are currently invisible.
  773.  
  774. The triangle symbol refers _only_ to "Install custom icons". It
  775. tells you that there are "pasteable" icons in the clipboard.
  776.  
  777. (All of this will make more sense when we discuss these switches in
  778. detail. But first:)
  779.  
  780. The Macintosh Finder works asynchronously. That is to say, it
  781. defers some jobs that it judges to be less important until one of
  782. the following things occurs: 1. it gets around to doing them, 2.
  783. the hardware is idle enough that it feels confident to have enough
  784. time to do house-keeping, or 3. an update is forced by some user-
  785. or software-initiated event. Why is this important? First, because,
  786. with respect to these switches and some others, we're pulling some
  787. cute stunts to force updates. And, second, because the cute stunts
  788. don't work for every case, most notably for "Stationery pad" and
  789. "Lock file name". So: keep in mind that if you don't see an
  790. immediate update consequent upon the changes you have made, you may
  791. need to close then open the folder (thus forcing an update).
  792.  
  793. Now then, these are the switches:
  794.  
  795. Lock file: This is the same as checking the Lock file check box in
  796. the Get Info window. A locked file can't have its name changed
  797. (except from Shane the Plane), can't be deleted (unless you hold
  798. down the option key while selecting Empty Trash), can't be Saved
  799. under its own name, and can't have a custom icon pasted into it
  800. (except from Shane the Plane). (A previously locked file will
  801. generate the stupid Finder message when accessed by Shane the
  802. Plane, but it's meaningless in this context.) A diamond means the
  803. first file in the batch is locked.
  804.  
  805. Lock file name: a file with its name locked can't be renamed from
  806. the Finder (it can be from Shane the Plane), and can't have
  807. custom-icons pasted in (except from Shane the Plane). Lock file
  808. name is a nice feature for managers and consultants who look after
  809. novice users. And, ideally, all printer font files should have
  810. their names locked, since a font ceases to work as soon as its name
  811. is changed. Take note that Lock file name is updated slowly by the
  812. Finder, and that the file name may _not_ be locked when the file is
  813. on the desktop (Finder bug?). A diamond means the first file in the
  814. batch has its name locked.
  815.  
  816. Stationery pad: makes any document into a "template". Most
  817. Stationery-aware applications will open it into an untitled window.
  818. Take note that Stationery pad is updated slowly by the Finder. A
  819. diamond means that the first file in the batch is a stationery pad.
  820.  
  821. Make invisible: in a Drag & Drop batch of files, makes all of them
  822. invisible when checked. Interactively, makes the particular file
  823. visible or invisible, depending on how the check box is set. The
  824. difference is: you can't Drag & Drop an invisible file (grin). In
  825. consequence, there will never be a diamond.
  826.  
  827. Make all in folder visible: for every file in the folder (but not
  828. subfolders), makes all invisible files visible. Files you may not
  829. have known were invisible (such as custom folder icons) will show
  830. up as well. A square means one or more files in the _folder_ are
  831. invisible. (Because files can be Dragged & Dropped from multiple
  832. folders (about which more below), this will make visible all files
  833. in _all_ affected folders; worth keeping in mind if you're looking
  834. for a surgical strike and not the Scorched Earth policy.)
  835.  
  836. Has custom icon: sets or clears the flag _only_, depending on the
  837. state of the check box. This by itself is pretty useless; it's this
  838. guy's two children who do the interesting stuff. But: a diamond
  839. means that the first file in the batch has this flag set.
  840.  
  841. Install custom icons: if there are icons in the clipboard, they
  842. will be pasted into all files selected, and the custom icons flag
  843. will be set if this check box is checked. If there are no icons in
  844. the clipboard, you will be invited to copy some in. This is
  845. elemental coolness made flesh, in my not very humble opinion
  846. (grin). Does nothing you couldn't do by hand from the Finder, but
  847. Shane the Plane does it so much faster. Like much of Mac-cool, this
  848. is nothing more than the sizzle on the steak; but what sizzle! A
  849. triangle means there are icons in the clipboard at the time of the
  850. Drag & Drop.
  851.  
  852. Remove custom icons: rips out all ICN#-family resources (with I.D.
  853. -16455) found in the batch and clears the custom icons flag. A full
  854. set of color icons takes up ±2.5K, so the disk space savings can
  855. add up over a large batch (which you can then proceed to squander
  856. with the above-mentioned switch? (grin)). A circle means that one
  857. or more files in the batch have the custom icon flag set (implying
  858. the presence of icon resources). Since only particular resource
  859. types with the I.D. number -16455 are removed, this is harmless if
  860. used on a file that _doesn't_ have any custom icons.
  861.  
  862. Has BNDL resource: sets or clears the bundle bit _only_ (again,
  863. this is the dopey father to the wise child below). Changing the
  864. state of the bundle bit (about which much more below) is usually a
  865. Real Bad Idea - no consequences, but Norton Utilities (etc.) won't
  866. love you. A diamond means the first file in the batch has its
  867. bundle bit set.
  868.  
  869. Remove PS font BNDLs: clears the bundle bit _and_ removes any
  870. ICN#-family resources, the BNDL resource, the FREF resource, and
  871. the font's owner resource (e.g., 'APSF' for Adobe PostScript
  872. Fonts). In other words, what's left when this is done will be
  873. 'POST' and 'vers' resources, if any. Works _only_ on files with
  874. type 'LWFN' (PostScript Type 1 or Type 3 fonts from any foundry).
  875. The effect is to make copying fonts as fast as copying any other
  876. like-sized documents. Further down, we'll discuss why this is so. A
  877. circle means that one or more files in the _batch_ are LWFNs with
  878. bundle bits set. As with "Remove custom icons", this is harmless on
  879. files that _don't_ have the resource types we're omitting. Fonts
  880. processed this way will have their creator changed to sTp2 and will
  881. have a special Shane the Plane font icon applied to them.
  882.  
  883. (Fair warning: This is a one-way street. Short of reverting to a
  884. back-up of your fonts or going back to their original floppies, you
  885. can't put this djinn back in the bottle. I can't imagine why you'd
  886. want to, but it's only fair to mention that you are making a
  887. _permanent_ change to the files.)
  888.  
  889.  
  890. Parting shot: there is a lot of intelligent disabling going on with
  891. these Finder flags. The intent behind this (freely confessed)
  892. modality is to avoid doing potentially logically conflicting things
  893. (quasi-)simultaneously. In truth, I could allow you to, for
  894. example, make the batch of files invisible while making all others
  895. in the folder visible. But it seems to me to invite confusion. In
  896. other cases, such as "Remove PS font BNDLs", the disabled functions
  897. would contend with great vigor, something like an alligator fight
  898. leaving two well-fed dead 'gators (grin). In any case, the
  899. admonition is: "But, gentlemen, you _overdo_ the mode" (emphasis
  900. added). In software that is this dangerous (as I will keep pointing
  901. out), it doesn't seem overdone to me...
  902.  
  903.  
  904.  
  905. 5. Not for Flight Engineers only...
  906.  
  907. Okay, this is details regarding the details:
  908.  
  909. For starters, here's something cool: Because Shane the Plane is
  910. Apple Event-aware, you can Drag & Drop batches of files from
  911. multiple folders, then execute the whole widely dispersed batch
  912. when you hit Start. In general, I expect this is mere frill, but I
  913. opted not to make it _im_possible (it's possible by default)
  914. because I thought it might be useful occasionally. Every time files
  915. are Dropped on the icon the entire batch and all relevant folders
  916. are queried for the batchwise information reported in Finder flags,
  917. so that information is always up to date for the _whole_ batch
  918. (Remove custom icons and Remove PS font BNDLs) and for _every_
  919. folder from which files have been Dropped (Make all in folder
  920. visible). This is important: if you check Make all in folder
  921. visible, every file in _every_ affected folder will be made
  922. visible. Take note also that Shane the Plane imposes a 256 file
  923. limit on the size of a batch. This would not be a problem with
  924. files Dropped from one folder, since 256 files in a single folder
  925. is slow death, but it might come up with files Dropped from
  926. multiple folders. Normally my Drag & Drop stuff imposes no limits
  927. (though I often say "512", just to establish that the number is so
  928. large as to be meaningless). But in Shane the Plane we are storing
  929. information about each file Dropped, and I wanted to keep the
  930. memory commitment relatively small.
  931.  
  932. Near the point: the default memory partition of Shane the Plane is
  933. and _must be_ 512K. If you watch About this Macintosh/the Finder,
  934. you'll see that the bar never gets filled. You might think this
  935. means there is some room for you to cut the partition. There isn't.
  936. While we're running, we're allocating and disposing of large blocks
  937. of memory faster than the Finder can record, so the heap often _is_
  938. completely filled, even though the Finder doesn't report that fact.
  939. This is not really a terribly large problem, since we're checking
  940. to make sure we have the memory we need before we commence to doing
  941. anything. If we're short on memory, we don't do any work.
  942.  
  943. (For what it's worth: you should never change the memory partition
  944. on utility software. You can safely change it on (Window-oriented)
  945. applications software, because each opened Window has associated
  946. dynamically allocated memory. If you can live with fewer windows,
  947. you can live on less memory. But: in general, (Dialog-oriented)
  948. utility software uses statically allocated memory and will
  949. malfunction if it can't get all it needs. Certainly it will thrash
  950. a lot more, compacting and re-compacting the heap to make space for
  951. itself (this is also true of Window-oriented software), and it may
  952. act very flakey. Making the partition smaller is an anachronism
  953. from the days when Macs were small and stupid. I think it's best
  954. forgotten, with the rule of the road being, if you want to change a
  955. partition, make it _larger_...)
  956.  
  957. As mentioned above, Shane the Plane's Apple Events-awareness makes
  958. it (conceivably) possible to run it from an intelligent agent. I
  959. don't know enough about scripting to tell you how to do this, but I
  960. _do_ want to point out that, at a minimum, your script will need to
  961. be able to issue a "return" (0x0D) or "enter" (0x03) keystroke.
  962. This is because Shane the Plane _must_ be explicitly started by
  963. hitting the Start button. Since that button is the default, you can
  964. "hit" it with the keystrokes, but you _must_ post some kind of
  965. event to initiate execution. I don't know if this is possible with
  966. Frontier or AppleScript alone, but certainly it is possible using a
  967. QuicKey in combination with scripting software. To do this
  968. properly, you should spawn a copy of Shane the Plane with all the
  969. prefs you will want set and Saved; the Auto-pilot|Prompt radio
  970. group should be set to "Auto-pilot". I don't know that I love this
  971. as an idea, but it will work; it will take software that more or
  972. less requires interaction and make it run as an unattended daemon's
  973. familiar.
  974.  
  975. Eminently nerd-like hack: every piece of software by me that has a
  976. Preferences menu (Shane the Plane, Clip 'n' Save, ShawBerry, and
  977. the forthcoming Mark My Words) stores its preferences in the
  978. resource fork of the software itself. The Default prefs are stored
  979. in 'PREF' resource 128, and the Saved prefs are stored in PREF 129.
  980. When you Save preferences, PREF 129 is re-written with your new
  981. settings. If you are comfortable with ResEdit, you can use it to
  982. give yourself two sets of stored preferences. Do this (on a _copy_
  983. of Shane the Plane, of course):
  984.  
  985. 1. Establish you second-favorite settings and Save preferences.
  986. Quit.
  987.  
  988. 2. Open the copy of Shane the Plane from ResEdit, and navigate your
  989. way to PREF 129. Select all and Copy.
  990.  
  991. 3. Open PREF 128, Select All and Paste. Save and Close the file. The
  992. two resources are now identical, with both containing your
  993. second-favorite settings.
  994.  
  995. 4. Launch Shane the Plane again and establish your (first-)favorite
  996. settings and Save preferences. Now when you do Restore defaults,
  997. you'll get your second-favorite settings, and when you do Restore
  998. saved prefs, you'll get your (first-)favorite settings, which will
  999. also be loaded automatically with every subsequent launch.
  1000.  
  1001. If you have DiskTop or DeskZap or some other utility that lets you
  1002. change Finder flags, you may wonder why Shane the Plane gives you
  1003. access to so _few_ of them. The reason is this: because most of
  1004. them are utterly useless. DiskTop and DeskZap give you access to
  1005. _all_ of them, even though most of them are without practical
  1006. consequences. There is one exception, which we're going to discuss.
  1007. The Inited bit says that a file has been seen (initialized) by the
  1008. Finder; it has been recorded in the Desktop database, and its
  1009. position in the folder has been established. What this means is
  1010. that you will _never_ see a healthy file that _has not_ been
  1011. Inited. If you clear this switch in DiskTop/DeskZap, the Finder
  1012. will reinitialize the file in short order, with the (possible)
  1013. observable outcome being that the file will move in its folder.
  1014. Originally, Shane the Plane was going to make the Inited bit
  1015. available to be changed, but we left it out because it's so
  1016. preternaturally useless. _However,_ there _are_ a few occasions
  1017. where we're changing it on our own: the Inited bit is cleared in
  1018. instances where the Finder is reluctant to update in a timely
  1019. fashion (as with Lock name and Stationery pad). And: the Inited bit
  1020. is cleared when the result of a switch setting is to create a new
  1021. file from the old (Install custom icons, Remove custom icons,
  1022. Remove PS font BNDLs, and Insert slug line in text files).
  1023.  
  1024. Take note with respect to the above paragraph: except for changing
  1025. the Inited bit in the few instances named, we are being careful
  1026. to change only the things you ask to have changed. So, for example,
  1027. even though the effect of Remove custom icons is to create a new
  1028. file identical to the old but with the icons omitted, the
  1029. created/modified dates and times will _only_ change if you
  1030. explicitly change them. Likewise, all of the goofy Finder flags to
  1031. which you do not have access from Shane the Plane are passed
  1032. unaltered.
  1033.  
  1034. I wanted to say a few words about Make invisible. For the most
  1035. part, I think it's a Real Bad Idea. Apple explicitly advises
  1036. against it, with what seems to me to be good reason. On the other
  1037. hand, I myself have particular need to make a certain few files
  1038. invisible. So what I have to say is this: if you don't have an
  1039. overwhelmingly good reason to make files invisible, don't do it.
  1040. They do not call attention to their presence, so they can soak up
  1041. valuable hard disk real estate without your knowing about it. It is
  1042. _because_ they are potentially so pernicious that Shane the Plane
  1043. looks for them wherever he goes, offering you the chance to make
  1044. them visible.
  1045.  
  1046. Regarding Remove PS font BNDLs: Did you ever double-click on one of
  1047. your font folders, then have to reboot because the damn thing
  1048. wouldn't open? Did you ever wonder why it takes so long to copy a
  1049. font folder? Well, here's a real knee-slapper: it's because the
  1050. font vendors are deliberately crippling your Macintosh with
  1051. advertising!
  1052.  
  1053. To quote Dave Barry: I am not making this up!
  1054.  
  1055. If you drop an unaltered PostScript printer font file on Shane the
  1056. Plane, you'll see that it "Has BNDL resources". What does this
  1057. mean...?
  1058.  
  1059. The BNDL resource (itself) associates a file's owner resource (same
  1060. name as the Creator type), it's FREF resource, and its icons. The
  1061. presence of the BNDL resources (with the bit set) occasions an
  1062. entry into the Desktop database for the file (almost always
  1063. executable software). The Desktop DB entry tells the Finder what
  1064. icons to use for files (associated FREF entries) created by the
  1065. software. Because of this, ordinary files don't need BNDL resource
  1066. of their own.
  1067.  
  1068. The most notable exception to this logic is PostScript printer font
  1069. files, each of which has a set BNDL resources. Why? For reasons of
  1070. vanity and advertising. Since there is no application associated
  1071. with fonts, they'd come up with plain document icons without their
  1072. BNDLs. It's the BNDLs, not the +/- 400 bytes of excess resource
  1073. baggage, that make fonts so slow to copy, etc.; each one must be
  1074. entered in the Desktop DB for no good reason.
  1075.  
  1076. To make this clear: _because_ PostScript printer font files have
  1077. BNDL resources, the Finder must spend a _lot_ more time dealing
  1078. with each one than it would have to do if the BNDL resources were
  1079. stripped and the "Has BNDL resources" bit cleared. This is what
  1080. Shane the Plane does if you select "Remove BNDL resources". It is
  1081. not enough to simply clear the bit, since disk-fixing utilities
  1082. like The Norton Utilities will simple reset it at their next
  1083. opportunity. But after the resources are removed and the bit
  1084. cleared, the printer font files will behave as normal documents.
  1085. They'll copy as fast as any other like-sized documents and their
  1086. folders will open as quickly as other folders with that many files
  1087. in them (still not awfully fast to be frank, but fast_er_). They'll
  1088. still be perfectly fine _as fonts_, since, qua fonts, all that
  1089. matters are the POST resources (Type 1) or the contents of the data
  1090. fork (Type 3), all of which is retained. All we're doing is ripping
  1091. out the Mac-crippling advertising.
  1092.  
  1093. (Take note: this function will change _only_ files of type 'LWFN',
  1094. but it will change LWFNs with any creator (that is, from any
  1095. vendor).)
  1096.  
  1097. BNDL issue 1: making this change may violate your license agreement
  1098. with your font vendor(s). If it does, you're on your own, but I'd
  1099. _love_ to hear the font vendors assert their legal right to cripple
  1100. and crowd your computer with entirely non-functional,
  1101. hyper-redundant advertising. Unlike the FreeWare utility DeBNDLer
  1102. (which does not work for me), we are not preserving the owner
  1103. resource as a 'vers' resource, which means the copyright
  1104. information will not be visible from the Get Info window _unless_
  1105. the font has 'vers' resources of its own (as do, for example, all
  1106. Agfa fonts). The font is still protected by copyright however! (I
  1107. would say "obviously", but there is evidence enough that people
  1108. find this little bit of obviousness too easy to overlook.)
  1109. Moreover, it is still _explicitly_ copyrighted in the POST
  1110. resources and/or data fork. It will have a Shane the Plane creator
  1111. and a distinctive Shane the Plane printer font icon, but it is
  1112. still and always the copyrighted intellectual property of its
  1113. original vendor, usable and transferrable only according to the
  1114. terms of the license agreement. In other words, I can't believe a
  1115. judge would fault you for stripping out the BNDLs, especially given
  1116. their hostile perniciousness. But I have no doubt at all that a
  1117. judge would (quite properly) nail you to the wall for using Shane
  1118. the Plane as your excuse to steal fonts.
  1119.  
  1120. BNDL issue 2: because font folders take so long to open when the
  1121. fonts still have their BNDLs (the folders _do_ open, it just takes
  1122. longer than normal mortals can stand to wait), I have made a
  1123. folder-aware Drag & Drop utility called Oscar the (Moderately
  1124. Awe-Inspiring) Cat (who is pictured in About Shane the Person).
  1125. Oscar the Cat removes the BNDLs and clears the BNDL bit from any
  1126. LWFNs found in that whole folder _hierarchy_. In other words, it
  1127. starts immediately within the folder Dropped and works its way down
  1128. that whole folder tree. Oscar the Cat ships only with the
  1129. unrestricted version of Shane the Plane, and is licensed only to
  1130. purchasers of the unrestricted version of Shane the Plane. You
  1131. would use it like this: do all your existing fonts at once with
  1132. Oscar the Cat, then process newly purchased fonts with Shane the
  1133. Plane.
  1134.  
  1135. Here's an interesting question: what is the point of "Change file
  1136. names/Use text file's slug line"? This is Kip Shaw's agenda, his
  1137. methods are covered in detail in Appendix A. His text is eminently
  1138. worth reading, since he is developing a hyper-efficient
  1139. text-processing methodology around Shane the Plane and other tools.
  1140. But here's the short course:
  1141.  
  1142. 1. Suppose you are going to be using a bunch of utilities like
  1143. mine, each of which will add its own extension to the files it
  1144. produces. Before doing anything, you could run the originals
  1145. through Shane the Plane, checking "Insert slug line in text files".
  1146. This will put the file's own true original name within it. Then you
  1147. run all the extension-appending utilities. When you finish, take
  1148. the final versions of the files and Drop them on Shane the Plane.
  1149. Check "Change file names/Use text file's slug line". The files will
  1150. be renamed with the true original names of the true original files.
  1151.  
  1152. 2. This is Kip's coolest trick the quick way: suppose you have a
  1153. great batch of similar files. My own utilities (such as Torquemada
  1154. the Inquisitor) will do the same stuff to each file of a batch, but
  1155. if you have to make global changes in an interactive editor, it
  1156. would be far better to have all the text in one file. Otherwise,
  1157. you'll have to make each global change in each file - slow and
  1158. error-prone. So what you could do is this:
  1159.  
  1160. a. Run the originals through Shane the Plane, checking "Insert slug
  1161. line in text files". This will put the file's own true original
  1162. name within it.
  1163.  
  1164. b. Concatenate the whole batch of files (using my own Cat o' Seven
  1165. Tails, for example).
  1166.  
  1167. c. Do all of your editing on the concatenated file, using either
  1168. your interactive editor or batch-oriented utilities.
  1169.  
  1170. d. Segment the concatenated file using my Caesura. Divide at "//
  1171. Filename:" (which is one reason why this text is so odd) and select
  1172. "Divide at paragraph-ending BEFORE string". This will chop the
  1173. files back up in their original segments. But: their names will be
  1174. auto-generated by Caesura. So:
  1175.  
  1176. e. Run the newly created segments through Shane the Plane, checking
  1177. "Change file names/Use text file's slug line". The files will be
  1178. renamed with the true original names of the true original files.
  1179.  
  1180. If your goal is to show these files as "galleys", you can elect to
  1181. retain the slug line on the second pass through Shane the Plane.
  1182. That way, other people editing paper copies of the text will know
  1183. which file they are working on. Otherwise, you can elect to omit
  1184. the slug line. As discussed above, the slug line is omitted
  1185. automatically when the Auto-pilot|Prompt radio group is set to
  1186. "Auto-pilot". When it is set to "Prompt", you will be prompted once
  1187. per session to discover what you want to do.
  1188.  
  1189. Shane the Plane and aliases: Shane the Plane resolves aliases to
  1190. the _true file referred to by the alias_. That is to say: if you
  1191. Drop an alias of a file on the icon, the alias itself will not be
  1192. altered, the file _referenced_ by the alias will be altered.
  1193. Forewarned is forearmed!
  1194.  
  1195. Finally, as your reward for wading through all this stuff: you can
  1196. abort a Drag & Drop batch of files after you hit the Start button
  1197. by holding down the Command and Period keys. The abort will happen
  1198. _between_ files, so anything already started will be fully done,
  1199. and anything unstarted will be undone. Rather than trying to figure
  1200. out what to do next, we're just beeping twice then quitting, to
  1201. give you the opportunity to do what you need to before proceeding.
  1202. Given that I'm mentioning it this late in the manual, you might
  1203. guess that I think this abort feature is a Real Bad Idea. I've only
  1204. implemented it so that you can contain the damage, if you realize
  1205. late that your settings are a horrible mistake. My main advice is:
  1206. this software is DANGEROUS, so don't make horrible mistakes! (grin)
  1207.  
  1208.  
  1209.  
  1210. 6. About Greg Swann...
  1211.  
  1212. Okay, here's the deal: I'm not just a developer, I'm a user of
  1213. software as well. I make about half of my money doing Desktop
  1214. Publishing. In consequence, I have a pretty clear idea of how to
  1215. focus utilities designed to plug gaps in the functionality of major
  1216. applications. I am quite sure there are a _lot_ of developers
  1217. brighter than I am. But the evidence of experience suggests that
  1218. few of them have my advantage of living on both sides of the line,
  1219. so to speak.
  1220.  
  1221. What does this mean?
  1222.  
  1223. First, it means that I have written a _lot_ of mission-critical
  1224. utilities in support of the software categories of interest to me:
  1225. file management, font management, automated text processing,
  1226. PostScript-processing, and automated DTP-software preparation. All
  1227. but four of these utilities are FreeWare (the exceptions being
  1228. Shane the Plane and the three packages discussed below) and are
  1229. available on CompuServe (GO DTPForum, Library 5, BROwse on
  1230. 70640,1574) and other electronic information services (including
  1231. any service offering access to the Arizona Macintosh User's Group
  1232. BBS-In-A-Box CD-ROM).
  1233.  
  1234. Second, it means that if you are likewise interested in these
  1235. software categories, it behooves you to support my work. Fanmail is
  1236. always nice, of course, but remuneration is the sincerest form of
  1237. flattery (grin). Seriously: this is a business, even if a
  1238. microscopically small one. It has been worthwhile so far because
  1239. the other things commanding my attention have not been as
  1240. lucrative. But that is changing (of course, and obviously,
  1241. _because_ of all the software). I can make a _lot_ of money writing
  1242. custom software for contracted clients. And I can streamline my own
  1243. production work without having to monkey-proof and document my
  1244. tools. So: if I am to keep doing this, I have to make it pay. If
  1245. you _want_ me to keep doing it, you have to pay me. It's that
  1246. simple.
  1247.  
  1248. In many ways, retail software is simpler. You pay or you don't
  1249. play, and no one has any illusions. The difference is, the
  1250. developer needs a _much_ larger capital commitment, and he needs to
  1251. surround himself with babbling morons in suits who might - just
  1252. possibly - be good for something other than chuckling about
  1253. football. Electronically distributed software gets around that
  1254. trap, but introduces the problem exposed here: the ambiguity of the
  1255. sales transaction results in a lot of prostrate begging by
  1256. developers. I don't beg, but I don't work for free except on my own
  1257. terms for my own good reasons.
  1258.  
  1259. There are three possible "futures" for authors of electronically
  1260. distributed software. 1. The rewards do not justify the effort, so
  1261. the author goes and plays tennis or something. 2. The author
  1262. produces software as an after-work hobby and continues to do so
  1263. more or less irrespective of user-response (some of the best and
  1264. worst FreeWare comes out of this category). 3. The author's growing
  1265. reputation results in him getting more contracted custom
  1266. programming work, worth more money, to the point that he no longer
  1267. has time to produce electronically distributed software.
  1268.  
  1269. It is the last that is happening to me, and this is why you need to
  1270. support my work, if you want it to continue. I'll do all right
  1271. whether I'm working on problems that confront you or on the
  1272. problems of some corporation. But: if you are using software by me
  1273. that has a commercial version (and all of them are discussed here),
  1274. and if you want me to _continue_ thinking about your problems,
  1275. rather than the problems of Consolidated MediCalc - you know what
  1276. to do...
  1277.  
  1278. These are my commercial programs (excluding Shane the Plane, about
  1279. which you might already have heard a word or two (grin)):
  1280.  
  1281. XP8 - a very intelligent file filter that cleans up and makes the
  1282. filthiest text QuarkXPress-ready. Among many other features, it
  1283. offers DOS-file reformatting, financial-text clean-up, garbage
  1284. disposal, typographic quality enhancement, and the best quote
  1285. conversion we know of. The ShareWare version of XP8 (v1.0.0) can be
  1286. found on CIS, GO DTPForum, Library 5, under the name XP8.SEA. It is
  1287. also included on the distribution disk for the unrestricted version
  1288. of Shane the Plane. The current commercial version is v1.0.6 and
  1289. offers a great many enhancements over the ShareWare version.
  1290.  
  1291. Torquemada The Inquisitor - batch global search and replace
  1292. software with wildcards, pattern matching, string substitution, et
  1293. very cetera. With Drag & Drop under System 7, you can run up to 640
  1294. searches on up to 128 files in one batch. Features the most
  1295. intelligent case-conversion we know of. The most-recent FreeWare
  1296. version (1.1.0) can be found on CIS, GO DTPForum, Library 5, under
  1297. the name TORQUE.SEA. It is also included on the distribution disk
  1298. for the unrestricted version of Shane the Plane. The current
  1299. commercial version is 1.2.2, offering a great many enhancements,
  1300. including new "wildthings" and a _lot_ of new User Interface power.
  1301.  
  1302. Mark My Words - (currently in development, shipping mid-March (or
  1303. bust!)) very intelligent, configurable conversion of Microsoft Word
  1304. 4.0/5.0/5.1 and WriteNow 3.0 files to QuarkXPress tags. As much of
  1305. the original coding as you want is maintained, and yet you are able
  1306. to make very fast global edits (e.g., with Torquemada). Moreover,
  1307. you can continue to draft and edit text in your Word Processor
  1308. while retaining the power and robustness of XPress Tags. With Em
  1309. Software's Xtags, you can even retain in-line pictures, tables and
  1310. borders. A sort of "PreWare" vision of the Mark My Words schema can
  1311. be seen in a program called WordLess Plus, which can be found on
  1312. CIS, GO DTPForum, Library 5, under the name WLPLUS.CPT. A DemoWare
  1313. version of Mark My Words will be posted to CompuServe and other
  1314. on-line services when it becomes available. This demo will also be
  1315. included on the distribution disk for the unrestricted version of
  1316. Shane the Plane when it becomes available.
  1317.  
  1318. (While I've vectored all the files toward CIS, my primary haunt,
  1319. they are also available on other services, and on any BBS which has
  1320. the most recent version of AMUG's BBS-In-A-Box CD-ROM on line.)
  1321.  
  1322. All three of these programs are sold on the same terms: (US)$50
  1323. each, per license. Two to 10 licenses are $45 each, and 11 or more
  1324. are $40 each. All of these programs will eventually be rolled into
  1325. a stand-alone text editor cum word processor currently in design
  1326. with the working name "MyEditor". You will be entitled to a 25%
  1327. discount on the price of the MyEditor, when it is released, for
  1328. each of these utilities you have purchased and registered. In other
  1329. words, if you own XP8, your discount will be 25%. If you own XP8
  1330. and Torquemada, it will be 50%. And if you own all three, you will
  1331. be entitled to a 75% discount. (This discount does not apply to
  1332. Shane the Plane, which is establishing its own upgrade path.)
  1333.  
  1334. If you want to buy any or all of these programs, send a check or
  1335. money order* to:
  1336.  
  1337.     Greg Swann
  1338.     P.O. Box 1724
  1339.     Andover, MA 01810
  1340.  
  1341. *Outside the U.S., you may send cash at your own risk, if exchange
  1342. issues make that expedient.
  1343.  
  1344. These programs are included on the distribution disk for the
  1345. unrestricted version of Shane the Plane:
  1346.  
  1347. * Shane the Plane v2.0.1 - discussed here as some length (!)
  1348.  
  1349. * Oscar the Cat v1.0.0 - PostScript font BNDL removal software
  1350. licensed as a premium to purchasers of Shane the Plane.
  1351.  
  1352. * XP8 v1.0.0 - ShareWare version of the commercial software
  1353.  
  1354. * Torquemada the Inquisitor v1.1.0 - FreeWare version of the
  1355. commercial software
  1356.  
  1357. * Mark My Words v1.0.0 - DemoWare version of the commercial
  1358. software (when it becomes available)
  1359.  
  1360. * Caesura v1.0.0 - FreeWare file segmentation software
  1361.  
  1362. * Cat o' Seven Tails - FreeWare file concatenation software
  1363.  
  1364. Plus some other stuff...
  1365.  
  1366.  
  1367.  
  1368. 7. Conclusion...
  1369.  
  1370. Jeez, haven't you had _enough_...? (grin)
  1371.  
  1372. Seriously: that's it. If you have any questions or problems, the
  1373. easiest way to get hold of me is on CompuServe at 70640,1574
  1374. (Internet 70640.1574@compuserve.com). If you can't do that, you can
  1375. snail mail me at:
  1376.  
  1377.     Greg Swann
  1378.     P.O. Box 1724
  1379.     Andover, MA 01810
  1380.  
  1381.  
  1382.  
  1383. Very Best,
  1384.  
  1385.  
  1386.  
  1387. Greg Swann
  1388.  
  1389. 7/8/93
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395. Appendix: Real World Shane the Plane
  1396.  
  1397. ... or ...
  1398.  
  1399. What good is a shortstop without the other infielders?
  1400.  
  1401.  
  1402.  
  1403. by Kip Shaw
  1404.  
  1405.  
  1406.  
  1407. Fleet of foot and with a mighty arm, Shane covers a lot of ground
  1408. deep in the hole. But once he's snagged a wicked line drive, who's
  1409. he going to throw it to? Thanks to Manager Greg Swann (whose team
  1410. is aptly called the "Swanney Ribbers" because they are fond of
  1411. jokes), some shrewd trades were made: Protecting second base is
  1412. "Cat o' Seven Tails," and over at first is that fearless lefty
  1413. "Caesura." Some may say, "But are they as good as Tinker, Evers,
  1414. and Chance from the glory days of the Chicago Cubs?" You bet they
  1415. are. Here's how they turn a triple play.
  1416.  
  1417. First, let's describe the wicked line drive that is streaking
  1418. toward Shane: it's a batch of text files generously provided by one
  1419. of your friendly clients. Unless you've housebroken this client,
  1420. the files no doubt will be filled with garbage. Not only will you
  1421. need to weed out all the multiple spacebands, multiple carriage
  1422. returns, etc., but you might also be called upon to do some
  1423. copyediting - perhaps relatively simple stuff like making all the
  1424. "a.m."s and "p.m."s consistent, or maybe a whole lot more. Before
  1425. you plunge into these tasks, let Shane snare this line drive - drag
  1426. & drop all the files on Shane and do this: check *on* the "Insert
  1427. slug lines in text files." As previously described in these docs,
  1428. this will put the filename at the beginning of each file.
  1429.  
  1430. The slug line looks like this (everything between but not including
  1431. the rows of dashes):
  1432.  
  1433. -----
  1434. // Filename: nameOfFile
  1435.  
  1436. -----
  1437.  
  1438. with "nameOfFile" being (surprise) the name of the file that appears
  1439. in a Finder window and the file's title bar. If you're not happy
  1440. with the names of the files - perhaps the client made them
  1441. unnecessarily long or uselessly nondescriptive - then also do this
  1442. in Shane at the same time: check *on* the "Change file names"
  1443. checkbox and select "Prompt individually" in the popup. In this
  1444. way, you can quickly change some or all of the file names and
  1445. *also* have the new names inserted as a slug line in the text
  1446. files.
  1447.  
  1448. Now that all the files are properly slugged, it's time for Shane to
  1449. whip the ball over to the secondbaseman, "Cat o' Seven Tails." For
  1450. those of you who might not be aware of Cat's prowess, let me wax
  1451. eloquent: Cat does one thing, and does it lightning fast - he
  1452. concatenates. For those of you who don't know what "concatenate"
  1453. means - look in the dictionary! <g> Okay, I'll tell you -
  1454. "Concatenate. To connect or link in a series or chain." So, if you
  1455. drag & drop all your now-Shaned client's files onto Cat, they will
  1456. be joined together (in the order they were selected in the Finder)
  1457. into one file, aptly named "Concatenated files." Why, you ask,
  1458. bother to join all the files together? Why not continue to work on
  1459. them individually? Sure, you could work on them separately, but
  1460. often - especially when editing is involved, and you need to refer
  1461. quickly back and forth between files - it can be a whole lot easier
  1462. if they're all in one file. And don't worry - once the ball gets
  1463. over to our first baseman, you will easily be able to split them
  1464. apart again.
  1465.  
  1466. But we're still at second base with Cat. Do whatever copyediting you
  1467. need to do on the "Concatenated files" file. Run it through XP8 and
  1468. Torquemada (who are other stellar members of the Swanney Ribbers).
  1469. Massage that text to your heart's content! Once done, you might have
  1470. a file now named "Concatenated files.XP8.TQM.XP8.TQM.SB!." ("SB!" -
  1471. what's that, you ask? Another member of the team - ShawBerry - a
  1472. true hall of famer. But that's another story.)
  1473.  
  1474. Okay. So Cat and his teammates have now served up something like
  1475. "Concatenated files.XP8.TQM.XP8.TQM.SB!." Time to sling that
  1476. over-extended filename to the fearless firstbaseman, Caesura. Some
  1477. fans of a rival team have spread malicious rumors that Caesura is
  1478. Cat's evil twin - but don't pay any attention to this gossip. The
  1479. slander started when it was discovered that Caesura has only one
  1480. goal in life - to undo what Cat has done. Caesura *splits* a file
  1481. into segments. What these rival fans didn't realize, though, is
  1482. that Cat and Caesura work in harmony. Here's how:
  1483.  
  1484. First, do yourself a favor: shorten the bloated filename to
  1485. something like "Catted" because Caesura likes to add its own
  1486. extension to the file name, which will makes things even more
  1487. unwieldy. Then boot up Caesura and you'll be asked two things: 1)
  1488. "Specify a string at which to divide" and 2) whether to "Divide at
  1489. paragraph-ending BEFORE string" (the default) *or* "Divide at
  1490. paragraph-ending AFTER string." Thanks to shortstop Shane, our
  1491. string of choice is easy: "// Filename" - and, therefore, we should
  1492. use the "Divide before string" default. Then, click on Caesura's
  1493. "Start" button and navigate in the dialog over to our baseball -
  1494. "Catted" - then click on the "Open" button. Caesura will now split
  1495. the catted file into the original segments that your client gave
  1496. you. Only problem is that the filenames will be useless - Caesura
  1497. simply appends a numerical extension to each of the segments -
  1498. e.g., "Catted.001" - not very descriptive!
  1499.  
  1500. But like any peerless infielders who have just completed a triple
  1501. play, the ball is flung around the horn - back to Shane. Drag &
  1502. drop the Caesura-segmented files onto Shane, and in the "Change
  1503. file names" popup, select "Use text file's slug line." (You might
  1504. also want to change the creator/type to your favorite text editor
  1505. at this point to rid yourself of the Caesura creator/type.) Just
  1506. like magic (which any fan will tell you baseball truly *is*), Shane
  1507. restores the original file names. You'll notice that the first
  1508. Caesura-segment's file name hasn't changed - it's still
  1509. "Catted.001." That's because it's garbage - a non-file - because
  1510. there obviously wasn't any text found before the first "//
  1511. Filename" string that was the marker you entered in Caesura. You
  1512. can trash it.
  1513.  
  1514. That's it. Inning over. And like all triple plays, it takes less
  1515. time to *do* than to *describe.*
  1516.